<?php
	include("./inc/phpEditor.php");
	print "<form method='POST' action='./index_admin.php'>";
	
	$dirname = './newsManager/';
	$dir = opendir($dirname);
	print "<select name='categorie'>";
	while($file = readdir($dir)) {
		if(!is_dir($file)){
			print "<option>$file</option>";
		}
	}
	print "</select>";
	print "<input tye='text' name='title'>";
	print "<textarea name='textarea' id='textarea'></textarea>";
	print "<script type='text/javascript'>CKEDITOR.replace('textarea');</script>";
	print "</form>";
?>